﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Header.ascx.cs" Inherits="WebHousingInfo.Controls.Header" %>
<div id="uni_head">		
    <link rel="stylesheet" type="text/css" href="css/general.css" />
    <link rel="stylesheet" type="text/css" href="css/unitybar_nhadat.css" />
    <link rel="stylesheet" type="text/css" href="css/unity_header.css" />
    <link rel="stylesheet" type="text/css" href="css/unity_general.css" />
    <link rel="stylesheet" type="text/css" href="css/unity_general_1024.css" />
    <link rel="stylesheet" type="text/css" href="css/unity_footer.css" />
    <link rel="stylesheet" type="text/css" href="css/trangchu_nhadat.css" />
    <link rel="stylesheet" type="text/css" href="css/box_adv_200.css" />
    <link rel="stylesheet" type="text/css" href="css/unity_1024.css" />						
    <link rel="stylesheet" type="text/css" href="css/ketquatimkiem.css" />
    <link rel="stylesheet" type="text/css" href="css/box_adv_250.css" />						
    <link rel="stylesheet" type="text/css" href="css/tintucnhadat.css" />    
    <link rel="stylesheet" type="text/css" href="css/mynhadat.css" />
    <link rel="stylesheet" type="text/css" href="css/dangtin.css" />  
    <link rel="Shortcut Icon" href="Image/cottage.ico" />    
    <script src="javascrip/jquery-1.5.1.js"></script>   
    <div id="uni_container">		
        <div id="uniheaderv3">
	        <div id="uniheadbox_outer">
		        <div id="uniheadbox_contain">
		            <div id="uninavigation_bar">
		                <% if (Session["UserName"] != null)
                     { %>
		                <div class="uninavigation_link">
                            <ul class="topright">
                                <li>Chào, <%=Session["UserName"]%></li>
                                <li><a href="ThayDoiThongTin.aspx"> | Quản lý cá nhân | </a> </li>
                                <li><asp:LinkButton ID="lbtthoat" CausesValidation="false" runat="server" onclick="lbtthoat_Click">Thoát</asp:LinkButton></li>
                            </ul>
                        </div>
                        <%} %>
			            <div id="uniheadbox">
				            <div id="unibrand">
					            <div class="banner">
						            <a href="Home.aspx"><img src="Image/baner_new.png"/></a>
					            </div>					           
				            </div>
			            </div>
			        </div>
		        </div>
	        </div>
        </div>
    </div>
    
    <div>
        <ul id="topnav_menu_tow">
           <li class="select_home"><a href="Home.aspx">Trang Chủ</a></li>
	       <li><a href="Raovatnhadat.aspx">Rao Vặt Nhà Đất</a>
                <% var obcate = HousingInfo.Library.CategoryBOList.GetCategoryBOList_ByType(true, false, false, false, true);
                   if (obcate != null && obcate.Count > 0)
                   { %>
                    <ul class="children_menu_tow">
                       <% foreach (var detailcate in obcate)
                          {    %>
	                 <li><a href="XemTinTheoQuanHuyen.aspx?cateid=<%=detailcate.CategoryID %>"><%=detailcate.CategoryName%></a></li>	                
	             <%} %>
	             </ul>
                <% } %>
	       </li>
	       <li><a href="XemThemTinTuc.aspx?idcate=4">Tin Tức</a>
	            <% var obtintuc = HousingInfo.Library.CategoryBOList.GetCategoryBOList_ByType(false, false, false, true, true);
                if (obtintuc != null && obtintuc.Count > 0)
                { %>
                    <ul class="children_menu_tow">
                       <% foreach (var detailtintuc in obtintuc)
                          {    %>
	                 <li><a href="XemThemTinTuc.aspx?idcate=<%=detailtintuc.CategoryID %>"><%=detailtintuc.CategoryName%></a></li>	                
	             <%} %>
	             </ul>
                <% } %>
	       </li>
	       <li><a href="du_an.aspx">Dự Án</a>
	            <ul class="children_menu_tow">
	                 <li style="margin-left: 212px;"><a href="du_an.aspx">Danh Sách Dự Án</a></li>	                
	                 <li><a href="dangtin_duan.aspx">Đăng Dự Án</a></li>	                
	             </ul>
	       </li>
	       <li><a href="VanBanNhaDat.aspx">Văn Bản Nhà Đất</a></li>
	       <li><a href="DienDanNhaDat.aspx">Diễn Đàn</a></li>
	       <li><a href="XemThemTinDoanhNghiep.aspx">Doanh Nghiệp</a>
	            <ul class="children_menu_tow">
	                 <li style="margin-left: 412px;"><a href="XemThemTinDoanhNghiep.aspx">Xem Tin Doanh Nghiệp</a></li>	                
	                 <li><a href="DangTinDoanhNghiep.aspx">Đăng Tin Doanh Nghiệp</a></li>	                
	             </ul>
	       </li>
	       <li><a href="DangTin.aspx">Đăng Tin Nhà Đất</a></li>
	       <% if (Session["UserName"] == null)
           { %>
	            <li><a style="cursor:pointer;" onclick="show_form_login();">Đăng Nhập</a></li>
	            <li><a href="DangKyTaiKhoan.aspx">Đăng Ký</a></li>
	        <%}
           else
           { %>
	        <li><a href="ThayDoiThongTin.aspx" id="a2">Quản Lý</a></li>
	        <%} %>
        </ul>       
    </div>	
    <% string ngaythang = getDatetime();  %>		
    <div style="height:29px; background: #2583E5; font-weight:bold;">
        <ul>
            <li style="color:#FFFFFF; line-height:30px; margin-left:10px;"><%=ngaythang%></li>
            
        </ul>
    </div>
</div>
<script type="text/javascript" src="js/tab.js"></script>
